home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / ceiling.z / ceiling
Encoding:
Text File  |  2002-10-03  |  2.1 KB  |  51 lines

  1. CEILING(3I)                                           Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      CCEEIILLIINNGG - Returns the least integer greater than or equal to _a
  6.  
  7. SSYYNNOOPPSSIISS
  8.      CCEEIILLIINNGG (([AA==]_a [,,[KKIINNDD==]_k_i_n_d]))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, IRIX systems
  12.  
  13.      CF90, MIPSpro 7 Fortran 90
  14.  
  15. SSTTAANNDDAARRDDSS
  16.      Fortran
  17.  
  18. DDEESSCCRRIIPPTTIIOONN
  19.      The CCEEIILLIINNGG intrinsic function returns the least integer greater than
  20.      or equal to _a.  It accepts the following arguments:
  21.  
  22.      _a         Must be of type real
  23.  
  24.      _k_i_n_d      An integer scalar value.  Must be a scalar integer
  25.                initialization expression
  26.  
  27.      CCEEIILLIINNGG is an elemental function.  The name of this intrinsic cannot
  28.      be passed as an argument.
  29.  
  30. NNOOTTEESS
  31.      On UNICOS systems, both execution speed and the number of bits used in
  32.      mathematical operations are affected when compiling with
  33.      ff9900 --OO ffaassttiinntt, which is the default setting.  For more information on
  34.      this, see the _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l.
  35.  
  36. RREETTUURRNN VVAALLUUEESS
  37.      The result type is an integer.  If _k_i_n_d is specified, the kind type
  38.      parameter is that specified by _k_i_n_d.  If _k_i_n_d is not specified, the
  39.      result is of type default integer.  The result has a value equal to
  40.      the least integer greater than or equal to _a.  The result is undefined
  41.      if the system cannot represent this value in the default integer type.
  42.  
  43. EEXXAAMMPPLLEESS
  44.      CCEEIILLIINNGG((33..77)) has the value 4.  CCEEIILLIINNGG((--33..77)) has the value -3.
  45.  
  46. SSEEEE AALLSSOO
  47.      _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
  48.  
  49.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  50.      man page.
  51.